package per.kongtouxu.service;

import org.apache.ibatis.annotations.Param;
import per.kongtouxu.domain.pojo.AdminLog;
import per.kongtouxu.domain.pojo.PageBean;
import per.kongtouxu.domain.pojo.User;

public interface UserService {
    //分页查询
    public PageBean<User> findByPage( String account, String Tel,  String email, String startTime, String endTime,int currentPage,int pageSize);
    //根据账户修改状态
    public Integer updateUserStateByAccount( String userName,Integer stateId, AdminLog adminLog);
    //根据账号密码查询User
    public User findUserByUP(String account,String password);
    //根据账号修改密码
    public Integer updateUserPwdByAccount(String userName, String password,AdminLog adminLog);
}
